package com.doubao.doubao_admin.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.doubao.doubao_admin.model.entity.BmsBillboard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface BmsBillboardMapper extends BaseMapper<BmsBillboard> {

    @Select("SELECT * FROM bms_billboard")
    List<BmsBillboard> findBillboards(LambdaQueryWrapper<BmsBillboard> wrapper);
}
